package org.myself.meeting.mapper;

import org.apache.ibatis.annotations.Param;
import org.myself.meeting.model.NewMessage;

import java.util.Date;
import java.util.List;

public interface NewMessageMapper {

    List<NewMessage> getNewMessage(@Param("page")Integer page, @Param("pagesize")Integer pagesize);

    long getCountAll();

    void addNewMessage(@Param("operationid") Integer operationid,@Param("operation") String operation, @Param("time") Date date);
}
